package beans;
/**********************************************************************
*
* Filename: User_Bean.java
*
* File Description:
* Bean to carry the users credentials to the server to be checked
* if they are a valid user
*
* Author:
* @author Tim Schmalz
* Date Created:
*  Oct 9, 2009
*
**********************************************************************/
public class User_Bean implements java.io.Serializable
{
	private static final long serialVersionUID = 7662926024759603015L;
	private String leagueName;
        private String userName;
	private String password;
        private String errorString;
	private int teamId;
	private int leagueId;
        private boolean isLoggedIn;

        //Auto Generated Getters and Setters
        public String getErrorString() {
		return errorString;
	}
	public void setErrorString(String errorString) {
		this.errorString = errorString;
	}
        public String getLeagueName() {
		return leagueName;
	}
	public void setLeagueName(String leagueName) {
		this.leagueName = leagueName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getTeamId() {
		return teamId;
	}
	public void setTeamId(int teamId) {
		this.teamId = teamId;
	}
	public int getLeagueId() {
		return leagueId;
	}
	public void setLeagueId(int leagueId) {
		this.leagueId = leagueId;
	}
        public boolean isLoggedIn() {
		return isLoggedIn;
	}
	public void setLoggInStatus(boolean isLoggedIn) {
		this.isLoggedIn = isLoggedIn;
	}
}
